<!doctype html>
<html>
<head>
	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link href="__STATIC__/admin/css/style.css" rel="stylesheet"/>

	<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
	<script src="__STATIC__/admin/js/jquery-1.9.1.min.js"></script>
	<title>{:L('website_manage')}</title>
    <script>
        $(document).ready(function(){
            $('#big_menu').click(function(){
                var diretct_uri = $(this).attr('data-uri');
                window.location.href = diretct_uri;
            })
        });
    </script>
</head>

<body>
<div id="J_ajax_loading" class="ajax_loading">{:L('ajax_loading')}</div>
<if condition="($sub_menu neq '') OR ($big_menu neq '')">
<div class="subnav">
    <div class="content_menu ib_a blue line_x">
    	<notempty name="big_menu">
			<button type="button" data-uri="{$big_menu.uri}" id="big_menu" class="btn btn-info">{$big_menu.title}</button>
        </notempty>
        <notempty name="sub_menu">
        <volist name="sub_menu" id="val" key="key">
        <if condition="$key neq 1"><span>|</span></if>
        <a href="{:U($val['module_name'].'/'.$val['action_name'],array('menuid'=>$menuid))}{$val.data}" class="{$val.class}"><em>{:L($val['name'])}</em></a>
        </volist>
        </notempty>
    </div>
</div>
</if>